package com.course.domain;

import java.io.Serializable;
import java.util.Set;

public class Specialty implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 6987333759479634943L;
	private Integer id;
	private String name;
	private Department department;

	private Set< MyClass > myClasses;

	public Integer getId()
	{
		return id;
	}

	public void setId( Integer id )
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName( String name )
	{
		this.name = name;
	}

	public Department getDepartment()
	{
		return department;
	}

	public void setDepartment( Department department )
	{
		this.department = department;
	}

	public Set< MyClass > getMyClasses()
	{
		return myClasses;
	}

	public void setMyClasses( Set< MyClass > myClasses )
	{
		this.myClasses = myClasses;
	}

}
